<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Warning Page</title>
<style>
	.message{
		text_align:center;
		padding:20px;
	}
</style>
</head>
<body>
	<div name="content" class="message" >
		<h2><%String message = request.getAttribute("message").toString(); 
			if(message!=null){
				out.print(message);
			}else{
				out.print("<h1 style='color:red;'>获取参数失败！</h1>");
			}
		%></h2>
	</div>
	<div>
		<%String urlTo = request.getAttribute("urlTo").toString(); 
		  String urlBack = request.getAttribute("urlBack").toString(); 
		  if(urlTo!="" && urlBack!=""){
		%>
			<a href="<%=urlBack %>">返 回</a>
		<%
		  }else{
				out.print("<h1 style='color:red;'>获取参数失败！</h1>");
			}
		  %>
	</div>
</body>
</html>